<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');
/* ****************************************************************************
  NAIYUMIE KING WANG JJANG Front End Developer <naiyumie@gmail.com>
  FileType:CRLF, Encording:UTF-8, Tab&Space:4/4
  ------------------------------------------------------------------------
**************************************************************************** */

class TmpAngularJS extends N_Controller {

	/***************************************************
	 * preprocess
	 *     constructor
	 *     function
	 *     declaration
	 ***************************************************/
	public function __construct(){
		parent::__construct();

		$this->nUri2 = array(
			'listSeg' => 'layout',
			'txSeg' => 'processCudAjax',
			'ntxSeg' => 'processListAjax',
			'createSeg' => 'layout'
		);
		$this->nUri = array_merge($this->nUri, $this->nUri2);
	}

	public function index() {
		//$this->layout();
		$this->load->view('tmpAngularJS');
	}

	public function test(){
		$ar = array(
			'key'=>'val',
			'foo'=>'var'
		);

		exit(json_encode($ar));
	}



}
/* End of file */